package com.ck.scan.annotation;

import com.ck.scan.registrar.CkScannerRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * spring扫描注解
 *
 * @author chenke
 * @version 1.0
 * @date 2021-12-22 11:36
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({CkScannerRegistrar.class})
public @interface CkScan {

    String[] value() default {};

    String[] basePackages() default {};

}
